package ooday05;

/**
 * 学生类
 */
public class Student {
    String name;  //Student zs = new Student("张三",25,"001");
    int age;      //Student ls = new Student("李四",24,"002");
    String stuId; //Student ww = new Student("王五",26,"003");
    static String className;

    static{ //给静态变量赋初始值
        className = "jsd2303";
    }
    Student(String name,int age,String stuId){ //给实例变量赋初始值
        this.name = name;
        this.age = age;
        this.stuId = stuId;
    }
}


















